package com.sghj.SysPermission.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sghj.SysPermission.entity.SysMenu;

import java.util.List;
import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xrx
 * @since 2022-02-18
 */
public interface SysMenuService extends IService<SysMenu> {

    Set<SysMenu> getUserMenu(Integer sysUserId);

    List<SysMenu> selectMenuTreeByUserId();

    /**
     * 查询菜单树
     * @return
     */
    List<SysMenu> getMenuTree();

    List<SysMenu> getMenuTreeBackEnd();

    List<SysMenu> getMenuTreeFront();

    List<SysMenu> selectMenuTreeByUserIdFront(Integer memberid);
}
